import type { RouteRecordRaw } from 'vue-router';
import { componentMap } from "./routeComponents.ts";

export const defaultRoutes: Array<RouteRecordRaw> = [
  {
    path: '/',
    name: 'home',
    component: componentMap.home
  },
  {
    path: '/login',
    name: 'login',
    component: componentMap.login
  },
  {
    path: '/register',
    name: 'register',
    component: componentMap.register
  },
  {
    path: '/404',
    name: '404',
    component: componentMap["404"]
  }, 
];
